package com.zy.service;

import com.zy.web.bean.BannerDTO;

import java.util.List;

/**
 * @program: shopping153_cloud
 * @description:
 * @author: zy
 * @create: 2025-08-21 08:52
 */
public interface BannerService {
    /** 广告轮播图正常显示 */
    public static final Integer BANNER_STATUS_NORMAL = 1;
    /** 广告轮播图不显示 */
    public static final Integer BANNER_STATUS_DISABLE = 0;

    /**
     * 添加轮播图
     */
    public BannerDTO addBanner(BannerDTO banner);

    /**
     * 根据状态查询banners轮播图，按照bannerId降序
     */
    public List<BannerDTO> getBannersByStatus(Integer bannerStatus);



}
